/**
 * 
 */
package com.epam.entity;

/**
 * @author Nugumanova V.
 *
 */
public class Course extends AbstractEntity{
	
	protected String courseName;
	protected String teacherName = "";
	protected String period = "";
	protected int hours = 0;
	
	public Course(long id, String courseName) {
		super(id);
		this.courseName = courseName;		
	}
	public Course(long id, String courseName, String teacherName, String period,
			int hours) {
		super(id);
		this.courseName = courseName;
		this.teacherName = teacherName;
		this.period = period;
		this.hours = hours;
	}
	

	public String getCurseName() {
		return courseName;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public String getPeriod() {
		return period;
	}

	public int getHours() {
		return hours;
	}

	public void setCurseName(String curseName) {
		this.courseName = curseName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public void setHours(int hours) {
		this.hours = hours;
	}

	@Override
	public String toString() {
		return "Course [id=" + id + ", curseName=" + courseName
				+ ", teacherName=" + teacherName + ", period=" + period
				+ ", hours=" + hours + "]";
	}

}
